package com.google.gwt.livinglife.client.data;

import java.io.Serializable;
import java.util.Date;
import com.google.gwt.http.client.URL;

public class BasicPostData implements Serializable {
	private Long id;
	
	private String post_text;
	
  private Date creation_date;
	
  private UserIdData author;
	
  private String embeded_image;
  
  public BasicPostData() {
  }

	public BasicPostData(String postText, Date creationDate, UserIdData author,
			String embededImage) {
		post_text = postText;
		creation_date = creationDate;
		this.author = author;
		embeded_image = embededImage;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPost_text() {
		return post_text;
	}
	
	public void setPost_text(String postText) {
		post_text = postText;
	}

	public Date getCreation_date() {
		return creation_date;
	}

	public void setCreation_date(Date creationDate) {
		creation_date = creationDate;
	}

	public UserIdData getAuthor() {
		return author;
	}

	public void setAuthor(UserIdData author) {
		this.author = author;
	}

	public String getEmbeded_image() {
		return embeded_image;
	}

	public void setEmbeded_image(String embededImage) {
		embeded_image = embededImage;
	}
}
